package com.example.demo.service;

import com.example.demo.entity.User;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @BelongsProject: springboot-demo
 * @BelongsPackage: com.example.demo.service
 * @Author: yanhongwei
 * @CreateTime: 2022-04-07 17:19
 * @Description: //TODO
 */
@Service
public class UserService {

    public User getPwdByUsername(String username){

        User admin = new User(username, "123");
        return admin;
    }
}
